//package cn.itcast.mq.listener;
//
//import org.springframework.amqp.rabbit.annotation.RabbitListener;
//import org.springframework.stereotype.Component;
//
///**
// * <h4>day01_1_springcloud_eureka</h4>
// * <p>mq 监听</p>
// *
// * @author : by wujianming
// * @date : 2021-11-23 23:23
// **/
//@Component
//public class SpringRabbitListener {
//
///**
// * @Description //TODO RabbitListener兔子mq监听器，监听队列名为simple.queue的消息
// * @Date 2021/11/23 23:25
// * @Param [msg] 对垒名simple.queue的消息
// * @return void
// **/
//
//
////    @RabbitListener(queues = "simple.queue")
////    public void listener(String msg){
////         System.out.println(msg);
////     }
//     @RabbitListener(queues = "simple.queue")
//    public void listener1(String msg){
//         System.out.println(msg+"===="+"listener1");
//     }
//     @RabbitListener(queues = "simple.queue")
//    public void listener2(String msg){
//         System.out.println(msg+"===="+"listener2");
//     }
//
//}
